package com.smartscreen.homeschoolconnection.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("parent_student_binding")
public class ParentStudentBinding {
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private String parentId;
    private String studentId;
    private String studentNumber;
    private String studentName;
    private String classId;
    private String className;
    private String idCardNumber;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;
}